/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.games;

import java.util.EventListener;

/**
 * Allows for listening to the game's events.
 * 
 * @author Telem
 */
public interface GameListener extends EventListener {

	/**
	 * This method gets called when the game starts
	 * 
	 * @param e
	 *            the GameEvent containing the information about this event
	 */
	void gameStart(GameEvent e);

	/**
	 * This method gets called when the game ends
	 * 
	 * @param e
	 *            the GameEvent containing the information about this event
	 */
	void gameEnd(GameEvent e);
}
